<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>JS CSS</title>
    <style>
        .main-container {
            display: flex;
            width: 100%;
            height: 100%;
        }

        .main-left,
        .main-right {
            width: 50%;
            height: 100%;
        }

        h1 {
            text-align: center;
            position: sticky;
            top: 0;
            background: #fff;
        }

        .left-box,
        .right-box {
            display: grid;
            grid-template-columns: repeat(auto-fill, 200px);
            grid-row-gap: 20px;
            grid-column-gap: 20px;
            justify-content: center;
        }

        a {
            text-decoration: none;
            color: black;
            border-radius: 6px;
            width: 200px;
            height: 60px;

            display: flex;
            align-items: center;
            justify-content: center;
        }

        .left-box a {
            background-color: antiquewhite;
        }

        .right-box a {
            background-color: thistle;
        }

        .right-box a.important-project {
            background-color: rgb(244, 184, 244);
        }
    </style>
</head>

<body>
    <div class="main-container">
        <div class="main-left">
            <h1>JS</h1>
            <div class="left-box">
                <a href="./closure.html">闭包[防抖、节流]</a>
            </div>
        </div>
        <div class="main-right">
            <h1>CSS</h1>
            <div class="right-box">
                <a href="./mouse.html">鼠标事件</a>
                <a href="./move.html">按住移动元素</a>
                <a href="./ball.html">躁动的小球</a>
                <a href="./zoom.html">放大镜右侧显示</a>
                <a href="./svg.html" class="important-project">SVG基础</a>
                <a href="./canvas.html" class="important-project">Canvas基础</a>
                <a href="./transform.html" class="important-project">2D3D变换transform</a>
                <a href="./transition.html" class="important-project">过渡transition</a>
                <a href="./animation.html" class="important-project">动画animation</a>
                <a href="./column.html">多列布局column</a>
                <a href="./flex.html">伸缩盒模型flex</a>
                <a href="./grid.html">网格布局Grid</a>
            </div>
        </div>
    </div>
    </div>
</body>

</html>